﻿using Coldairarrow.Entity;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business
{
    public interface IInvoice_InfoBusiness
    {
        Task<PageResult<Invoice_Info>> GetDataListAsync(PageInput<ConditionDTO> input);

        Task<Invoice_Info> GetTheDataAsync(string id);

        Task AddDataAsync(Invoice_Info data);
        List<Invoice_Info> GetInvoice(string Phone);

        Task<List<Invoice_Info>> GetMyInvoce();

        /// <summary>
        /// 添加抬头
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task<Invoice_Info> AddDataTwoAsync(Invoice_Info data);

        Task UpdateDataAsync(Invoice_Info data);

        Task DeleteDataAsync(List<string> ids);
    }
}